import {
    applyMiddleware,
    createStore,
    combineReducers
} from "redux";
import reduxThunk from 'redux-thunk';

import HomeReducer from './reducers/home';
import SongListReducer from './reducers/songlist';
import DjerListReducer from './reducers/djerlist';
import HeaderReducer from './reducers/header';

const store = createStore(combineReducers({
    HomeReducer,
    SongListReducer,
    DjerListReducer,
    HeaderReducer
}), applyMiddleware(reduxThunk));

export default store;